home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 13 / AMIGAplus Sonderheft 13 (1998)(ICP)(DE)[!].iso / rexx / unsetlocks.bed < prev    next >
Text File  |  1997-12-03  |  360b  |  26 lines

  1. /*
  2. ** $VER: UnsetLocks.bed 1.0 (03.01.96)
  3. **
  4. ** Unset all display and input locks currently set in any BlacksEditor
  5. ** document.
  6. **
  7. ** Modified by Marco Negri
  8. */
  9.  
  10. OPTIONS RESULTS
  11. OPTIONS FAILAT 11
  12.  
  13. ADDRESS BED
  14.  
  15. GetDocuments
  16. docs = RESULT
  17.  
  18. DO WHILE docs ~= ''
  19.     PARSE VAR docs '"' . '" ' port docs
  20.  
  21.     ADDRESS VALUE port
  22.  
  23.     SetDisplayLock OFF
  24.     SetInputLock OFF
  25. END
  26.